#include<stdio.h>
int main()
{
  int N,i,j;
  char C;
  scanf("%d",&N);
  getchar();
  scanf("%c",&C); 
  for(i=0;i<(int)(N/2.0+0.5);i++)
  {
  for(j=0;j<N;j++)
  {
  printf("%c",C);
  }
  printf("\n");
  } 
  return 0;
}
